# coding=utf-8
from django.shortcuts import render
from django.template.response import TemplateResponse
from demo import models
# Create your views here.

def home(request, *args, **kwargs):
    template_name='demo/index.html'
    user, is_new = models.Demo.objects.get_or_create(
        name = 'DEMO'
    )
    context = {
        'user': user
    }
    return TemplateResponse(request, template_name, context)